package com.lanxiao.cloud.common.core.enums;

/**
 * @author ：qiaoliang
 * @date ：2021-09-03
 */
public enum MethodEnum implements BaseEnum<StateEnum, Integer> {
  GET(0, "GET"),
  POST(1, "POST"),
  PUT(2, "PUT"),
  DELETE(4, "DELETE");
  private final Integer value;

  private final String desc;

  MethodEnum(Integer value, String desc) {
    this.value = value;
    this.desc = desc;
  }

  @Override
  public Integer getValue() {
    return value;
  }

  @Override
  public String getDesc() {
    return desc;
  }

}
